/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.evote.central;

import com.evote.monitoreo.ejb.MonitoreoSessionBean;
import com.evote.monitoreo.entity.Locacion;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 *
 * @author Mendoza
 */
@ManagedBean
@SessionScoped
public class MonitoreoMBean {
    @EJB
    private MonitoreoSessionBean monitoreoSessionBean;

    /** Creates a new instance of MonitoreoMBean */
    public MonitoreoMBean() {
    }
    public List<Locacion> showLocations() {
        return monitoreoSessionBean.getLocations();
    }
}
